package com.xtedu.examproject.dao.base;

import com.xtedu.examproject.entity.Subject;
import com.xtedu.examproject.util.PageHelper;

public interface SubjectDao extends BaseDao<Subject> {
    PageHelper findByIdByPage(int subjectId,int pageIndex,int pageSize) throws Exception;

    PageHelper findByNameByPage(String subjectName,int pageIndex,int pageSize) throws Exception;
}
